#ifndef SURFACE_H
#define SURFACE_H

#include <QtGui>

#include <defs/export.h>
#include <defs/global.h>

#include "entity.h"


namespace Opl{ namespace Gui {

        class Scene;
        O_PRIVATE_DECLARE(Surface);
        class OPL_GUI_EXPORT Surface : public Entity {

        public:
            Surface(Scene *scene, const QPointF &a, const QPointF &b);

            QGraphicsProxyWidget *childItem() const;
            void childResized();

            ~Surface();
        private:
            O_PRIVATE_DECLARE_MEMBER(Surface);
        };

    };};

#endif // SURFACE_H

